package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.CreditShop;
import cn.wolfcode.trip.base.domain.ProductContent;
import cn.wolfcode.trip.base.domain.ProductPlus;
import cn.wolfcode.trip.base.query.CreditShopQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ICreditShopService {
    void save(CreditShop creditShop);
    void update(CreditShop creditShop);
    CreditShop get(Long id);
    PageInfo selectForList(CreditShopQuery qo);
    ProductContent getContent(Long productId);
    void changeState(CreditShop creditShop);
    void saveOrUpdate(CreditShop creditShop);
    void addCount(Long productId, Long count);
    void changeCommend(CreditShop creditShop);
    PageInfo getProductTypes(CreditShopQuery qo);
    void changeCount(Long productId, Long count);
}
